package com.example.demo.controller;


import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


import com.example.demo.entity.Desk;
import com.example.demo.service.Desk_Service;

@RequestMapping("Desk")
@RestController
public class Desk_Controller extends Basic_Controller<Desk>{
	@Autowired
	Desk_Service service;

	@RequestMapping("test")
	@ResponseBody
	public Desk test(Desk u) {
		return u;
		
	}

}
